package com.mux.comms;

import java.util.ResourceBundle;

public class Constants {
	private static ResourceBundle bundle = ResourceBundle.getBundle("param");
	public static final String ZERO ="0";
	public static final String ONE ="1";
	
	/**
	 * 当前登录用户
	 */
	public static final String CURRENT_USER = "current_user";
	
	//用户目录
	public static final String USER_HOME_PATH = System.getProperty("user.home");
	//文件分隔符
	public static final String FILE_SEPARATOR = System.getProperty("file.separator"); 
	//路径分隔符
	public static final String PATH_SEPARATOR = System.getProperty("path.separator"); 
	//行分隔符
	public static final String LINE_SEPARATOR = System.getProperty("line.separator"); 
	//上传文件存放路径
	public static final String UPLOAD_FILE_DIR= "upload";
	//生成二维码存放路径
	public static final String QR_CODE_IMG_DIR = "img";
	
	public static final String DATE_TIME_FORMAT = "yyyyMMddHHmmssSSS";
	public static final String DATE_FORMAT = "yyyy-MM-dd";
	public static final String DATE_FORMAT_NO_DEL = "yyyyMMdd";
	
	/**
	 * 东八区
	 */
	public static final String UTC_ZONE= "UTC+08:00";
			
	/**
	 * rpb 原始数据位置  -- 开机
	 */
	public static final String RPB_SRC_DIR=bundle.getString("srcDir");
	
	/**
	 * 关机数据位置
	 */
	public static final String RPB_CLOSE_SRC_DIR=bundle.getString("closeSrcDir");
	
	/**
	 * rpb 处理后数据存放位置
	 */
	public static final String RPB_DiST_DIR=bundle.getString("distDir");
	
	
	public static final String CHARSET_UTF_8 = "UTF-8";
			
	

}
